//相位数组信息
import 'package:json_annotation/json_annotation.dart';

part 'phase.g.dart';

@JsonSerializable()
class Phase {
  int direction;
  int color;
  int time;
  Phase(this.direction, this.color, this.time);
  factory Phase.fromJson(Map<String, dynamic> json) => _$PhaseFromJson(json);
  Map<String, dynamic> toJson() => _$PhaseToJson(this);
}
